
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<head>
<meta charset="UTF-8" />
</head>
<div class="modal fade" style="top: 30px;" id="addCurtainModal"
	data-backdrop='static' data-keyboard='false' tabindex="-1"
	role="dialog" aria-labelledby="addCurtainModaLabel" aria-hidden="true">
	<div class="modal-dialog" style="width: 50%">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"
					aria-hidden="true">&times;</button>
				<h4 class="modal-title" id="addCurtainModaLabel">添加订单的详细</h4>
			</div>
			<div class="modal-body">
				<form class=" form-horizontal left-align form-well"
					enctype="multipart/form-data" id="goodDetailForm">
					<div class="form-group" id="curtainTypeDiv">
						<label class="col-md-2 col-sm-2 control-label">类型：</label>
						<div class="clearfix">
							<div class="btn-group" style="margin-top: 6px">
								<input type="radio" class="toggle"
									onchange="changeCurtainType(this)" value="0" name="type" id="cloth"/>
									<label for="cloth"> 布艺窗帘&nbsp;&nbsp;
								</label> <input type="radio" value="1"
									onchange="changeCurtainType(this)" class="toggle" name="type" id="finish"/>
									<label for="finish">成品窗帘
								</label>
							</div>
						</div>
					</div>
					<!-- 布艺帘基本信息选择框开始   包括结构款式安装情况  ==================================================-->
					<div id="basicClothCurtainOptionDIV" style="display: none">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label">结构：</label>
							<div class="clearfix">
								<div class="btn-group" style="margin-top: 6px">
									<input type="radio" class="toggle"
										onchange="changeClothCurtainStructure(this)" value="0"
										name="structure" id="oneCloth"> <label for="oneCloth">单层布&nbsp;&nbsp;
									</label> <input type="radio"
										onchange="changeClothCurtainStructure(this)" value="1"
										class="toggle" name="structure" id="oneYarn"> <label for="oneYarn">单层纱&nbsp;&nbsp;
									</label> <input type="radio" value="2" class="toggle"
										onchange="changeClothCurtainStructure(this)" name="structure" id="doubleClothYarn">
										<label for="doubleClothYarn">布纱双层
									</label>
								</div>
							</div>
						</div>
						<div class="form-group" id="">
							<label class="col-md-2 col-sm-2 control-label">款式：</label>
							<div class="clearfix">
								<div class="btn-group" style="margin-top: 6px">
									<input type="radio" class="toggle" value="0"
										onchange="changeClothCurtainStyle(this)" name="style" id="dakongkuan">
										<label for="dakongkuan">打孔款&nbsp;&nbsp;
									</label> <input type="radio" value="3" class="toggle"
										onchange="changeClothCurtainStyle(this)" name="style" id="hanzhekuanANDguagoukuan">
										<label for="hanzhekuanANDguagoukuan">韩款或者挂钩款&nbsp;&nbsp;
									</label> <input type="radio" value="4" class="toggle"
										onchange="changeClothCurtainStyle(this)" name="style" id="liantoukuan">
										<label for="liantoukuan">帘头款
									</label>
								</div>
							</div>
						</div>
						<div class="form-group" id="intallClothCurtainSituatonDIV"
							style="display: none">
							<label class="col-md-2 col-sm-2 control-label">安装情况：</label>
							<div class="clearfix">
								<div class="btn-group" style="margin-top: 6px">
									<input type="radio" class="toggle"
										onchange="changeClothCurtainInstallSituation(this)" checked
										value="1" name="installCase" id="clothYarnSame"> <label for="clothYarnSame">布纱位置相同&nbsp;&nbsp;
									</label> <input type="radio" value="0" class="toggle"
										name="installCase"
										onchange="changeClothCurtainInstallSituation(this)" id="clothYarnDifferent">
										<label for="clothYarnDifferent">布纱位置不同
									</label>
								</div>
							</div>
						</div>
					</div>
					<!-- 布艺帘基本信息选择框结束   包括结构款式安装情况 ================================================== -->
					<!-- 添加尺寸按钮显示开始    添加按钮尺寸开始 -->
					<div id="button_addSizeDIV">
						<div class="form-group">
							<label class="col-md-2 col-sm-2 control-label">添加尺寸：</label>
							<div class="clearfix button-size-custom" id="button_addSize_1">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button" onclick="click_addProductCurtainSize()"
										class="btn btn-xs btn-danger custom-addProductSize-button">添加成品帘尺寸[未填]</button>
								</div>
							</div>
							<div class="clearfix button-size-custom" id="button_addSize_2">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addYarnSize-button"
										onclick="click_addClothCurtainYarnSize()">添加纱帘尺寸[未填]</button>
								</div>
							</div>
							<div class="clearfix button-size-custom" id="button_addSize_3">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addClothSize-button"
										onclick="click_addClothCurtainClothSize()">添加布帘尺寸[未填]</button>
								</div>
							</div>
							<div class="clearfix button-size-custom" id="button_addSize_4">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addYarnSize-button"
										onclick="click_addClothCurtainYarnSize()">添加纱帘尺寸[未填]</button>
								</div>
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addHeadSize-button"
										onclick="click_addClothCurtainHeadShadeSize()">添加帘头尺寸[未填]</button>
								</div>
							</div>
							<div class="clearfix button-size-custom" id="button_addSize_5">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addClothSize-button"
										onclick="click_addClothCurtainClothSize()">添加布帘尺寸[未填]</button>
								</div>
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										onclick="click_addClothCurtainHeadShadeSize()"
										class="btn btn-xs btn-danger custom-addHeadSize-button">添加帘头尺寸[未填]</button>
								</div>
							</div>
							<div class="clearfix button-size-custom" id="button_addSize_6">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addClothSize-button"
										onclick="click_addClothCurtainClothSize()"
										style="margin-right: 10px">添加布帘尺寸[未填]</button>
									&nbsp;&nbsp;
									<button type="button"
										class="btn btn-xs btn-danger custom-addHeadSize-button"
										style="margin-right: 10px"
										onclick="click_addClothCurtainHeadShadeSize()">添加帘头尺寸[未填]</button>
									&nbsp;&nbsp;
								</div>
							</div>
							<div class="clearfix button-size-custom" id="button_addSize_7">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addClothSize-button"
										style="margin-right: 10px"
										onclick="click_addClothCurtainClothSize()">添加布帘尺寸[未填]</button>
									&nbsp;&nbsp;
								</div>
							</div>
							<div class="clearfix button-size-custom" id="button_addSize_8">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addClothSize-button"
										style="margin-right: 10px"
										onclick="click_addClothCurtainClothSize()">添加布帘尺寸[未填]</button>
									&nbsp;&nbsp;
									<button type="button"
										class="btn btn-xs btn-danger custom-addYarnSize-button"
										style="margin-right: 10px"
										onclick="click_addClothCurtainYarnSize()">添加纱帘尺寸[未填]</button>
									&nbsp;&nbsp;
									<button type="button"
										class="btn btn-xs btn-danger custom-addHeadSize-button"
										style="margin-right: 10px"
										onclick="click_addClothCurtainHeadShadeSize()">添加帘头尺寸[未填]</button>
									&nbsp;&nbsp;
								</div>
							</div>
							<div class="clearfix button-size-custom" id="button_addSize_9">
								<div class="btn-group" style="margin-top: 6px">
									<button type="button"
										class="btn btn-xs btn-danger custom-addClothSize-button"
										style="margin-right: 10px"
										onclick="click_addClothCurtainClothSize()">添加布帘尺寸[未填]</button>
									&nbsp;&nbsp;
									<button type="button"
										class="btn btn-xs btn-danger custom-addYarnSize-button"
										style="margin-right: 10px"
										onclick="click_addClothCurtainYarnSize()">添加纱帘尺寸[未填]</button>
									&nbsp;&nbsp;
								</div>
							</div>
						</div>
					</div>
					<!-- 添加尺寸按钮显示结束    添加尺寸按钮结束 -->
				</form>
				<div id="kv-avatar-errors-1" class="center-block"
					style="width: 800px; display: none"></div>
			</div>
			
			
			<div class="modal-footer">
				<button type="button" class="btn btn-info"
					onclick="addGoodForIndent_click(this)">保存</button>
				<button type="button" class="btn btn-default"
					onclick="javascript:closeGoodDetailChooseForm()"
					data-dismiss="modal">关闭</button>
			</div>
		</div>
	</div>
</div>